<?php

namespace Admin\Controller;

use Think\Controller;

class CompanyController extends Controller {

    public function __construct() {
        parent::__construct();
        $l = D('Login', 'Logic');
        $re = $l->islogin();
        if (!$re) {
            redirect('/admin/login');
        }
        $this->company = new \Home\Logic\CompanystoremapLogic();
    }
}